import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import router from "@/router";

//  扩展ElementUI 插件
Vue.use(ElementUI);

new Vue({
  render: h => h(App),   //  等同于 components   完成组件的注册
  router
}).$mount('#app')     //  等同  el: '#app'
